<?php
error_reporting(0);
$isadmin=1;
include 'check.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE3 {color: #FF0000}
-->
</style>
<script language="javascript" type="text/javascript">	
function tSubmit(form){
	if(form.webname.value==''){
		alert('请填写网站名称！');
		form.webname.focus();
		return false;
	}
	if(form.url.value==''){
		alert('请填写网站地址！');
		form.url.focus();
		return false;
	}
	if(form.picname.value==''){
		alert('请上传商城logo！');
		return false;
	}
	return true;
}
</script>
</head>

<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="images/arrow.gif" width="16" height="22" align="absmiddle" /> 添加合作伙伴</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="saveaddhzhb.php" onsubmit="return tSubmit(this);">
<br />
<table width="720"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
                      
                      <tr>
                        <td width="98" height="30" align="right" class="bigtext">网站名称：</td>
                        <td height="30" colspan="2">&nbsp;<input type="text" name="webname" class="btn3" value="" style="width:200px;" />                        </td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">链接地址：</td>
                        <td height="30" colspan="2">&nbsp;<input type="text" name="url" class="btn3" value="" style="width:200px;" /> 
                        http:// xxxx</td>
                      </tr>
					  <tr>
                        <td height="30" align="right" class="bigtext">网站图片：</td>
                        <td width="430" height="30">&nbsp;<IFRAME frameBorder=0 
                        height=25 name=ad scrolling=no 
                        src="uppic.php" 
                        width="98%"></IFRAME></td>
                        <td width="184"><span class="STYLE3">&nbsp;必填（像素95*31） </span></td>
					  </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">显示位置：</td>
                        <td height="30" colspan="2">&nbsp;<input type="text" name="wz" class="btn3" value="0" style="width:200px;" />
                        必须是数字(从左到右 1、2、3....)</td>
                      </tr>
					   <tr>
                        <td height="30" align="center" class="bigtext">&nbsp;</td>
                        <td height="30" colspan="2" class="bigtext">&nbsp;<input type="submit" name="Submit" value=" 添加合作伙伴 " /><input name="picname" type="hidden" id="picname" value="" /> </td>
					   </tr>
                    </table>
                                    <br />
                  </form>
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>

</body>
</html>
